<html>
<head><meta charset="utf-8"><title>cross-linking rustc-guide from compiler docs · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cross-linking.20rustc-guide.20from.20compiler.20docs.html">cross-linking rustc-guide from compiler docs</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="151786489"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cross-linking%20rustc-guide%20from%20compiler%20docs/near/151786489" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> QuietMisdreavus <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cross-linking.20rustc-guide.20from.20compiler.20docs.html#151786489">(Dec 14 2018 at 16:29)</a>:</h4>
<p>something i just remembered is that rustdoc recently gained an <code>--index-page</code> flag that allows you to provide an "index page" that sits in the top-level directory of a doc bundle (where there is currently no index.html placed by default)</p>
<p>it may be useful to add a small thing here that links to the crate docs as well as rustc-guide (and maybe other resources) so linking to <a href="https://doc.rust-lang.org/nightly/nightly-rustc" target="_blank" title="https://doc.rust-lang.org/nightly/nightly-rustc">https://doc.rust-lang.org/nightly/nightly-rustc</a> is useful (it currently 404's)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>